package com.sdry.project.controller;


import com.sdry.project.service.IProjectExpert2023Service;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;


/**
 * 二次评审Controller
 * 
 * @author tdd
 * @date 2023-12-12
 */
@Controller
@RequestMapping("/system/2023")
public class ProjectExpert2023Controller
{

    @Autowired
    private IProjectExpert2023Service projectExpert2023Service;

   /* @GetMapping()
    public String 2023()
    {
        return prefix + "/2023";
    }

    *//**
     * 查询二次评审列表
     *//*
    @PostMapping("/list")
    @ResponseBody
    public TableDataInfo list(ProjectExpert2023 projectExpert2023)
    {
        startPage();
        List<ProjectExpert2023> list = projectExpert2023Service.selectProjectExpert2023List(projectExpert2023);
        return getDataTable(list);
    }

    *//**
     * 导出二次评审列表
     *//*
    @PostMapping("/export")
    @ResponseBody
    public AjaxResult export(ProjectExpert2023 projectExpert2023)
    {
        List<ProjectExpert2023> list = projectExpert2023Service.selectProjectExpert2023List(projectExpert2023);
        ExcelUtil<ProjectExpert2023> util = new ExcelUtil<ProjectExpert2023>(ProjectExpert2023.class);
        return util.exportExcel(list, "2023");
    }

    *//**
     * 新增二次评审
     *//*
    @GetMapping("/add")
    public String add()
    {
        return prefix + "/add";
    }

    *//**
     * 新增保存二次评审
     *//*
    @PostMapping("/add")
    @ResponseBody
    public AjaxResult addSave(ProjectExpert2023 projectExpert2023)
    {
        return toAjax(projectExpert2023Service.insertProjectExpert2023(projectExpert2023));
    }

    *//**
     * 修改二次评审
     *//*
    @GetMapping("/edit/{id}")
    public String edit(@PathVariable("id") Long id, ModelMap mmap)
    {
        ProjectExpert2023 projectExpert2023 = projectExpert2023Service.selectProjectExpert2023ById(id);
        mmap.put("projectExpert2023", projectExpert2023);
        return prefix + "/edit";
    }

    *//**
     * 修改保存二次评审
     *//*
    @PostMapping("/edit")
    @ResponseBody
    public AjaxResult editSave(ProjectExpert2023 projectExpert2023)
    {
        return toAjax(projectExpert2023Service.updateProjectExpert2023(projectExpert2023));
    }

    *//**
     * 删除二次评审
     *//*
    @PostMapping( "/remove")
    @ResponseBody
    public AjaxResult remove(String ids)
    {
        return toAjax(projectExpert2023Service.deleteProjectExpert2023ByIds(ids));
    }*/
}
